"use strict";
const common_vendor = require("../../../../../common/vendor.js");
const _sfc_main = {
  __name: "PersonalInfoEdit",
  setup(__props) {
    const user = common_vendor.ref({
      name: "张三",
      id: "12**********20",
      sex: "男",
      age: 68,
      phone: "13131888098"
    });
    const saveChanges = () => {
      console.log("修改后的用户信息:", user.value);
      common_vendor.index.showToast({
        title: "修改已保存",
        icon: "success"
      });
    };
    return (_ctx, _cache) => {
      return {
        a: user.value.name,
        b: user.value.id,
        c: user.value.sex,
        d: `${user.value.age}岁`,
        e: user.value.phone,
        f: common_vendor.o(($event) => user.value.phone = $event.detail.value),
        g: common_vendor.o(saveChanges)
      };
    };
  }
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0569ed96"]]);
wx.createPage(MiniProgramPage);
